package com.estate.service.feign;

import com.estate.util.JsonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("estate-asset")
public interface DeviceFeign {
    @GetMapping("/asset/list/{deviceId}")
    JsonResult find(@PathVariable("deviceId") String deviceId);
}
